<?php
//大小写一样
return [
			'ip'=>'0.0.0.0',
			'port'=>'8088',
			'set'=>[
				'max_conn'=>10000,	  //测试用1000,布属时调整
				'worker_num' => 1,    //开启两个worker进程
				'max_request' => 0,   //每个worker进程处理max request重置
				'dispatch_mode'=>2,
				'user'=>'www',
				'group'=>'www',
				'enable_coroutine'=>true,
				'daemonize'=>0,
				'package_max_length'=>1024*1024,
				'open_length_check'=>true,//数据包不能超过package_max_length
				'http_compression'=>false,//nginx压缩
				'document_root'=>dirname(PUBLIC_PATH),//nginx压缩
				#'task_worker_num'=>2,//配置异步Task进程的数量
			]
		];
?>